<ul class="breadcrumbs">
            <li><a href="dashboard.html"><i class="iconfa-home"></i></a> <span class="separator"></span></li>
            <li><a href="table-static.html">User</a> <span class="separator"></span></li>
            <li>List User</li>
            
            <li class="right">
                <a href="" data-toggle="dropdown" class="dropdown-toggle"><i class="icon-tint"></i> Color Skins</a>
                <ul class="dropdown-menu pull-right skin-color">
                    <li><a href="default">Default</a></li>
                    <li><a href="navyblue">Navy Blue</a></li>
                    <li><a href="palegreen">Pale Green</a></li>
                    <li><a href="red">Red</a></li>
                    <li><a href="green">Green</a></li>
                    <li><a href="brown">Brown</a></li>
                </ul>
            </li>
        </ul>
<div class="pageheader">
            <form action="results.html" method="post" class="searchbar" />
                <input type="text" name="keyword" placeholder="To search type and hit enter..." />
            </form>
            <div class="pageicon"><span class="iconfa-table"></span></div>
            <div class="pagetitle">
                <h5>&nbsp;</h5>
                <h1>Danh Sách Tài Khoản</h1>
            </div>
        </div><!--pageheader-->
        
        <div class="maincontent">
            <div class="maincontentinner">
            
                <h4 class="widgettitle">Data Table</h4>
                <table id="dyntable" class="table table-bordered">
                    <colgroup>
                        <col class="con0" style="align: center; width: 4%" />
                        <col class="con1" />
                        <col class="con0" />
                        <col class="con1" />
                        <col class="con0" />
                        <col class="con1" />
                        <col class="con0" />
                        <col class="con1" />
                    </colgroup>
                    <thead>
                        <tr>
                            <th class="head0 nosort">delete</th>
                            <th class="head0">Email</th>
                            <th class="head1">Địa Chỉ</th>
                            <th class="head0">Điện Thoại</th>
                            <th class="head1">Giới Tính</th>
                            <th class="head0">Ngày Sinh</th>
                            <th class="head1">Ảnh</th>
                    		<th class="head0">Thao Tác</th>
                        </tr>
                    </thead>
                    <tbody>
                    <?php foreach($this->show_user as $key)
          			{ ?>
                        <tr class="gradeX">
                          <td class="aligncenter"><span class="center">
                          <?php if($key['is_delete']==1){?>
                            	<input type="checkbox" checked="checked" />
                          <?php } else {?>
                          		<input type="checkbox"  />
                          <?php }?>
                          </span></td>
                            <td ><?php echo $key['email']; ?></td>
                            <td><?php echo substr($key['address'],0,30).'...'; ?></td>
                            <td><?php echo $key['phone']; ?></td>
                            <td class="center">
								<?php  
                                    if($key['gender']==1)
                                        echo 'Nam';
                                    else
                                        echo 'Nữ';
                                ?>
                            </td>
                            <td ><?php echo $key['birthday']; ?></td>
                            <td class="center"> <img src="<?php echo $this->baseUrl()?>/public/images/users/<?php  echo $key['avatar'];?>" width="50px" height="50px"> </td>
                            <td class="center">
                            	<a href="<?php echo $this->baseUrl()?>/admin/user/edit/id/<?php echo $key['id']?>"> <span class="iconsweets-brush2"></span> </a>
                				<a href="<?php echo $this->baseUrl()?>/admin/user/lock/id/<?php echo $key['id']?>"> <span class="iconsweets-trashcan"></span> </a> 
                            </td>
                        </tr>
                     <?php } ?>
                    </tbody>
                </table>
                    